﻿using Credisoft.Models.Credisoft_BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Credisoft.Models.Credisoft_DAO
{
    public class EconomicGroupDAO
    {
        public EconomicGroupBO getEconomicGroupData(int economicGroupId)
        {
            EconomicGroupBO economicGroupBO = new EconomicGroupBO();
            //using (credisoftEntities bd = new credisoftEntities())
            //{
            //    grupoeconomico found = (from p in bd.grupoeconomico
            //                            select p).First();
            //    if (found != null)
            //    {
            //        economicGroupBO.credibility = found.credibilidad;
            //        economicGroupBO.economicGroupId = found.idgrupo;
            //        economicGroupBO.name = found.nombre;
            //    }
            //}
            return economicGroupBO;
        }
    }
}